#include "ConsoleColor.h"
#include <iostream>
#include <QCoreApplication>

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    setConsoleColor(CTC_RED);
    cout << "red text black background" << endl;

    setConsoleColor(CTC_GREEN);
    cout << "green text black background" << endl;

    setConsoleColor(CTC_BLUE);
    cout << "blue text black background" << endl;

    setConsoleColor(CTC_PURPLE);
    cout << "purple text black background" << endl;

    setConsoleColor(CTC_CYAN);
    cout << "cyan text black background" << endl;

    setConsoleColor(CTC_BLUE, CBC_RED);
    cout << "blue text red background" << endl;

    setConsoleColor(CTC_BLACK, CBC_WHITE);
    cout << "black text white background" << endl;

    setConsoleColor(CTC_BLACK, CBC_CYAN);
    cout << "black text cyan background" << endl;

    setConsoleColor();
    cout << "white text black background" << endl;

    return a.exec();
}

